package com.aptech.jboa.pojo;

import java.util.HashSet;
import java.util.Set;


/**
 * Branchinfo entity. @author MyEclipse Persistence Tools
 */

public class Branchinfo  implements java.io.Serializable {


    // Fields    

     private Long id;
     private String name;
     private String shortname;
     private Set departmentinfos = new HashSet(0);


    // Constructors

    /** default constructor */
    public Branchinfo() {
    }

    
    /** full constructor */
    public Branchinfo(String name, String shortname, Set departmentinfos) {
        this.name = name;
        this.shortname = shortname;
        this.departmentinfos = departmentinfos;
    }

   
    // Property accessors

    public Long getId() {
        return this.id;
    }
    
    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return this.name;
    }
    
    public void setName(String name) {
        this.name = name;
    }

    public String getShortname() {
        return this.shortname;
    }
    
    public void setShortname(String shortname) {
        this.shortname = shortname;
    }

    public Set getDepartmentinfos() {
        return this.departmentinfos;
    }
    
    public void setDepartmentinfos(Set departmentinfos) {
        this.departmentinfos = departmentinfos;
    }
   








}